import request from '@/utils/request'

// 查询运营指标监控明细列表
export function listDealOperationalIndicatorsDetails(query) {
  return request({
    url: '/details/dealOperationalIndicatorsDetails/list',
    method: 'get',
    params: query
  })
}

// 查询运营指标监控明细详细
export function getDealOperationalIndicatorsDetails(id) {
  return request({
    url: '/details/dealOperationalIndicatorsDetails/' + id,
    method: 'get'
  })
}

// 保存运营指标监控明细
export function saveDealOperationalIndicatorsDetails(data) {
  return request({
    url: '/details/dealOperationalIndicatorsDetails/save',
    method: 'post',
    data: data
  })
}

// 删除运营指标监控明细
export function delDealOperationalIndicatorsDetails(id) {
  return request({
    url: '/details/dealOperationalIndicatorsDetails/' + id,
    method: 'delete'
  })
}

// 导出运营指标监控明细
export function exportDealOperationalIndicatorsDetails(query) {
  return request({
    url: '/details/dealOperationalIndicatorsDetails/export',
    method: 'get',
    params: query
  })
}
